/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package homework.demo01;

/**
 *陈长盛 2010404104
 * @author Administrator
 */
public class Books {

    String numbers;
    String name;
    float price;

    public Books(String numbers, String name, float price) {
        this.numbers = numbers;
        this.name = name;
        this.price = price;
    }

    public String getNumbers() {
        return numbers;
    }

    public void setNumbers(String numbers) {
        this.numbers = numbers;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public static void main(String args[]) {
        Books tets = new Books("444444", "红楼梦", 200);
    System.out.println("图书编号为:"+tets.numbers);
    System.out.println("图书名:"+tets.name);
    System.out.println("图书价格:"+tets.price);
    



    }
}
